﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_PHONEBOOK.cs
// 项目名称：Lovol 
// 创建时间：2012/2/3
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_PHONEBOOK数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_PHONEBOOK", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_PHONEBOOK", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_PHONEBOOK_Entity
    {
        #region 变量定义
        ///<summary>
        ///电话薄编号
        ///</summary>
        private long _bOOKID;
        ///<summary>
        ///姓名
        ///</summary>
        private string _nAME = String.Empty;
        ///<summary>
        ///手机1
        ///</summary>
        private string _mOBILEONE = String.Empty;
        ///<summary>
        ///手机2
        ///</summary>
        private string _mOBILETWO = String.Empty;
        ///<summary>
        ///家庭电话
        ///</summary>
        private string _hOMEPHONE = String.Empty;
        ///<summary>
        ///办公电话
        ///</summary>
        private string _oFFICEPHONE = String.Empty;
        ///<summary>
        ///邮件地址
        ///</summary>
        private string _eMAIL = String.Empty;
        ///<summary>
        ///网址
        ///</summary>
        private string _uRL = String.Empty;
        ///<summary>
        ///QQ
        ///</summary>
        private string _qQ = String.Empty;
        ///<summary>
        ///MSN
        ///</summary>
        private string _mSN = String.Empty;
        ///<summary>
        ///电话薄分组编号
        ///</summary>
        private long? _pHONEBOOKGROUPID = 0;
        ///<summary>
        ///备注
        ///</summary>
        private string _rEMARK = String.Empty;
        ///<summary>
        ///创建人编号
        ///</summary>
        private long? _cREATEPEOPLEID = 0;
        ///<summary>
        ///创建人姓名
        ///</summary>
        private string _cREATEPEOPLE = String.Empty;
        ///<summary>
        ///创建时间
        ///</summary>
        private DateTime? _cREATETIME;
        ///<summary>
        ///最后修改人编号
        ///</summary>
        private long? _lASTMODIFYPEOPLEID = 0;
        ///<summary>
        ///最后修改人
        ///</summary>
        private string _lASTMODIFYPEOPLE = String.Empty;
        ///<summary>
        ///最后修改时间
        ///</summary>
        private DateTime? _lASTMODIFYTIME;
        ///<summary>
        ///事业部编号
        ///</summary>
        private long? _bUSINESSDIVISIONID = 0;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///事业部代码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_PHONEBOOK_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///电话薄编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_PHONEBOOK")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public long BOOKID
        {
            get { return _bOOKID; }
            set { _bOOKID = value; }

        }

        ///<summary>
        ///姓名
        ///</summary>		
        public string NAME
        {
            get { return _nAME; }
            set
            {
                _nAME = value;
            }

        }

        ///<summary>
        ///手机1
        ///</summary>		
        public string MOBILEONE
        {
            get { return _mOBILEONE; }
            set
            {
                _mOBILEONE = value;
            }

        }

        ///<summary>
        ///手机2
        ///</summary>		
        public string MOBILETWO
        {
            get { return _mOBILETWO; }
            set
            {
                _mOBILETWO = value;
            }

        }

        ///<summary>
        ///家庭电话
        ///</summary>		
        public string HOMEPHONE
        {
            get { return _hOMEPHONE; }
            set
            {
                _hOMEPHONE = value;
            }

        }

        ///<summary>
        ///办公电话
        ///</summary>		
        public string OFFICEPHONE
        {
            get { return _oFFICEPHONE; }
            set
            {
                _oFFICEPHONE = value;
            }

        }

        ///<summary>
        ///邮件地址
        ///</summary>		
        public string EMAIL
        {
            get { return _eMAIL; }
            set
            {
                _eMAIL = value;
            }

        }

        ///<summary>
        ///网址
        ///</summary>		
        public string URL
        {
            get { return _uRL; }
            set
            {
                _uRL = value;
            }

        }

        ///<summary>
        ///QQ
        ///</summary>		
        public string QQ
        {
            get { return _qQ; }
            set
            {
                _qQ = value;
            }

        }

        ///<summary>
        ///MSN
        ///</summary>		
        public string MSN
        {
            get { return _mSN; }
            set
            {
                _mSN = value;
            }

        }

        ///<summary>
        ///电话薄分组编号
        ///</summary>		
        public long? PHONEBOOKGROUPID
        {
            get { return _pHONEBOOKGROUPID; }
            set { _pHONEBOOKGROUPID = value; }

        }

        ///<summary>
        ///备注
        ///</summary>		
        public string REMARK
        {
            get { return _rEMARK; }
            set
            {
                _rEMARK = value;
            }

        }

        ///<summary>
        ///创建人编号
        ///</summary>		
        public long? CREATEPEOPLEID
        {
            get { return _cREATEPEOPLEID; }
            set { _cREATEPEOPLEID = value; }

        }

        ///<summary>
        ///创建人姓名
        ///</summary>		
        public string CREATEPEOPLE
        {
            get { return _cREATEPEOPLE; }
            set
            {
                _cREATEPEOPLE = value;
            }

        }

        ///<summary>
        ///创建时间
        ///</summary>		
        public DateTime? CREATETIME
        {
            get { return _cREATETIME; }
            set { _cREATETIME = value; }

        }

        ///<summary>
        ///最后修改人编号
        ///</summary>		
        public long? LASTMODIFYPEOPLEID
        {
            get { return _lASTMODIFYPEOPLEID; }
            set { _lASTMODIFYPEOPLEID = value; }

        }

        ///<summary>
        ///最后修改人
        ///</summary>		
        public string LASTMODIFYPEOPLE
        {
            get { return _lASTMODIFYPEOPLE; }
            set
            {
                _lASTMODIFYPEOPLE = value;
            }

        }

        ///<summary>
        ///最后修改时间
        ///</summary>		
        public DateTime? LASTMODIFYTIME
        {
            get { return _lASTMODIFYTIME; }
            set { _lASTMODIFYTIME = value; }

        }

        ///<summary>
        ///事业部编号
        ///</summary>		
        public long? BUSINESSDIVISIONID
        {
            get { return _bUSINESSDIVISIONID; }
            set { _bUSINESSDIVISIONID = value; }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///事业部代码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }


        #endregion

    }
}
